package com.gitee.cirnochat.common.model.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import com.fasterxml.jackson.annotation.JsonValue;
import lombok.Getter;

@Getter
public enum SystemNoticeType implements BaseEnum<Integer> {

    FRIEND_ONLINE_NOTICE(1, "好友上线通知"),

    FRIEND_OFFLINE_NOTICE(2, "好友离线通知"),

    SYSTEM_TIP_NOTICE(3, "系统公告"),

    DEVICE_OFFLINE_NOTICE(4, "设备下线通知");

    SystemNoticeType(Integer value, String description) {
        this.value = value;
        this.description = description;
    }

    @JsonValue
    @EnumValue
    private final Integer value;
    private final String description;
}
